//index.html
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8" />
    <title>ss</title>
</head>
<body>
111
    <script src="./dist/index.js"></script>//注意在这里引入的是打包完成的js文件
</body>
</html>
 